package cn.ibizlab.odoo.core.odoo_repair.service;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.Collection;
import java.math.BigInteger;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import cn.ibizlab.odoo.core.odoo_repair.domain.Repair_order_make_invoice;
import cn.ibizlab.odoo.core.odoo_repair.filter.Repair_order_make_invoiceSearchContext;

/**
 * 实体[Repair_order_make_invoice] 服务对象接口
 */

public interface IRepair_order_make_invoiceService{
     boolean update(Repair_order_make_invoice repair_order_make_invoice) ;
     Repair_order_make_invoice get(Integer id) ;
     Repair_order_make_invoice get(Repair_order_make_invoice repair_order_make_invoice) ;
     void removeBatch(Collection<? extends Serializable> idList, int batchSize) ;
     void createBatch(List<Repair_order_make_invoice> repair_order_make_invoices, int batchSize) ;
     boolean remove(Integer id) ;
     boolean create(Repair_order_make_invoice repair_order_make_invoice) ;
     void updateBatch(List<Repair_order_make_invoice> repair_order_make_invoices, int batchSize) ;

    /**
     * 查询集合 默认查询
     */
    Page<Repair_order_make_invoice> searchDefault(Repair_order_make_invoiceSearchContext context) ;

    /**
     * 根据用户查询
     */
     Page<Repair_order_make_invoice> selectByOdoo_create(Integer id) ;

    /**
     * 根据用户查询
     */
     Page<Repair_order_make_invoice> selectByOdoo_write(Integer id) ;

    /**
     * 转换ClientModel为Domain
     */
    public Repair_order_make_invoice convert2Domain(cn.ibizlab.odoo.core.client.model.Irepair_order_make_invoice model ,Repair_order_make_invoice domain);

    /**
     * 转换Domain为ClientModel
     */
    public cn.ibizlab.odoo.core.client.model.Irepair_order_make_invoice convert2Model(Repair_order_make_invoice domain , cn.ibizlab.odoo.core.client.model.Irepair_order_make_invoice model);

}
